package com.resume.mapper

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.core.metadata.IPage
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.resume.entity.Resume
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

@Mapper
interface ResumeMapper : BaseMapper<Resume> {
    
    fun findByUserId(@Param("userId") userId: Long, page: Page<Resume>): IPage<Resume>
    
    fun findPublicResumes(page: Page<Resume>): IPage<Resume>
} 